package com.aeasycredit.credit.tuef.api;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.aeasycredit.credit.tuef.dto.CreditReportEnquiryBodyDto;
import com.aeasycredit.credit.tuef.dto.CreditReportEnquiryResultDto;
import com.aeasycredit.credit.tuef.dto.ExcelCrpParamDto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "Excel CRP API", protocols = "http", produces = "application/json")
@RequestMapping("/crp-gw")
public interface ExcelCrpApi {
    
    @ApiOperation(value = "查询信貸報告")
    @PostMapping(value = "/credit-report/upload/request")
    CreditReportEnquiryResultDto enquiryCreditReport(@RequestBody ExcelCrpParamDto<CreditReportEnquiryBodyDto> requestParam);
    
}
